package cn.gson.springmvc.controller;/*
package cn.gson.springmvc.controller;

import cn.gson.springmvc.model.services.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class DemoController {
    @Autowired
    DemoService ds;

    @RequestMapping("init-demo")
    @ResponseBody
    public List<DemoEntity> demo(){
        return ds.DemoAll();
    }
}
*/
